package com.qf.mapper;/*
 *徐韬
 *2021/10/13
 *11:01
 */

import com.qf.entity.Student;
import org.apache.ibatis.annotations.Param;

import java.sql.SQLOutput;
import java.util.List;
import java.util.ListIterator;
import java.util.Map;

public interface StudentMapper {
    List<Student> selectAll();
    Student select(Integer stuId);
    List<Student> selectAllByaddressandGraderId(String stuAddress,Integer GraderUd);
    List<Student> selectAllByGenderandGradeId(Map<String,Object> map);
    List<Student> selectAllByAddressandGraderId(@Param("addr") String stuAddress,@Param("gid") Integer GraderId);
    List<Student> selectBystuName(String stuName);
    int insert(Student student);
    int update(Student student);
    int delete(Integer stuId);
}
